import { IpcWindow } from "@/util/IpcWindow/IpcWindow";
import { WindowName } from "@/mdesign-lib/mdesign-main.js";

export type Params = {
  data?: string;
  title: string;
  attrType: string;
};

export type CloseData = {
  success: boolean;
  data?: any[];
};

export const trackEditorWindow = new IpcWindow<Params, CloseData>(WindowName.TrackEditorWindow);
